STEP 12: What if the ball hits a brick instead? The brick should disappear!
- In the collision event, find the second if-line ····if·my_var·==·"green":¬. Change "green" to "blue".
- If the hit_sprite's color is blue, the ball has hit a brick!
- Delete this line ········sprite.say("Goal!")¬ from within the second if-statement.
- From add Remove Sprite inside the if-statement. Change the argument to hit_sprite.
To navigate the page using the TAB key, first press ESC to exit the code editor.